import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from "./store";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/global.css'
import request from "@/utils/request";
Vue.use(ElementUI);
Vue.prototype.request = request
Vue.config.productionTip = false
//全局自定义指令
Vue.directive('title', { //单个修改标题
  inserted: function (el, binding) {
    document.title = el.dataset.title
  }
}),
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
